<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>线性渐变 - 使用角度</title>
<style type="text/css">
div {
	width: 800px; height: 500px;
	background: -webkit-linear-gradient(135deg, red, yellow, blue);
	background:    -moz-linear-gradient(135deg, red, yellow, blue);
	background:      -o-linear-gradient(135deg, red, yellow, blue);
	background:         linear-gradient(135deg, red, yellow, blue);
}
</style>
</head>
<body>
<div></div>
</body>
</html>